using System;
using System.Collections;
using System.Collections.Generic;
using System.Xml.Serialization;

using QLTDK.Entities.Base;

namespace QLTDK.Entities.BaseObjects
{
    public class BaseTdkLoaicb : EntityObject<int>
    {
        #region Declarations

		private string tenLoaiCB = null;
		
		
		private IList<TdkTudieukhien> tdkTudieukhiens = new List<TdkTudieukhien>();
		
		#endregion

        #region Constructors

		/// <summary>
        /// Since we want to leverage automatic properties, init appropriate members here.
        /// </summary>
		private void InitMembers()
		{
			TdkTudieukhiens = new List<TdkTudieukhien>();
		}
		
		/// <summary>
        /// Creates valid entity object
        /// </summary>
		public BaseTdkLoaicb() 
		{ 
			InitMembers();
		}
		
        #endregion

        #region Properties

		[DomainSignature]
		public virtual string TenLoaiCB
        {
            get { return tenLoaiCB; }
			set
			{
				tenLoaiCB = value;
			}
        }

		[XmlIgnore]
		public virtual IList<TdkTudieukhien> TdkTudieukhiens
        {
            get { return tdkTudieukhiens; }
            protected set
			{
				tdkTudieukhiens = value;
			}
        }
		
        #endregion
    }
}